package pers.mihao.quickstream.common.util;

import org.springframework.lang.Nullable;
import pers.mihao.quickstream.common.exception.BaseException;
import pers.mihao.quickstream.common.exception.BizException;
import pers.mihao.quickstream.common.exception.ParamsCheckException;

/**
 * @author mihao
 * @since 2024/11/17
 */
public class AssertUtil {

    public static void notNull(@Nullable Object object) {

    }

    public static void isTrue(boolean expression) {
        if (!expression) {
            throw new ParamsCheckException("参数错误");
        }
    }
}
